fixed custom jsbeautify options

also made json pretty print as input source for beautification