fixed class declarations in jquery