Accept JSON as JS