Quality inn across from the airtrain station is a decent hotel. I stayed there on my way to catch my last award flight. Its about $118 after taxes ($10 less if you have AAA) but requires 2 day cancellation period. Last time i stayed there they were sold out no not sure how well it would work out if purchased last minute.
http://www.qualityinn.com/hotel-jamaica-new_york-NY326