added the app js into the page
added a phrase constructor