Fix unclosed javascript