created backgroundstar.js + added js call to index

put in js folder