There are tons of games in the App Store with custom user interfaces that don’t match anything from Apple.
You didn't say anything about security, but there is no security problem either.
The client side wouldn't be evaluating JavaScript outside of Apple's JS engine so there is no security risk whatsoever.