add package.json
magic init, no explanation
add js method and renderJavascript
refactor data method