added ternary.js file to the index.html file
workspace file added to idea folder
added ternary.js file to js folder