fix javascript looks