Externalize javascript and css, implement php, externalize data to JSON