Building custom runtime js with full screen

How should I do to build a custom runtime for cocos2d-js with fullscreen resolution?