fix coding style of js