Now works in front end with require

Signed-off-by: aintgoin2goa <paul.wilson66@gmail.com>
adding main.js

Signed-off-by: aintgoin2goa <paul.wilson66@gmail.com>