Added JS beautify directives
Applied beautify refactor
Added Boom replies when error found