better .js output