fix javascript presentation