Creating contents.js initial file
Added skeleton functions to js file