Test.
Fixed PSR-2 code conventions.
Fixed rendering of JS settings.