js quoute bug