move js from class path to context
Update javascriptStack
add ajax header for tapestry and inject ngResource
serve phoneDetails with JSONObject