set foldmethod=indent for js files.