removing weinre
breaking off javascript into separate main.js file