Fixed bug in js. Accidental ajax removed.