feat(main.js): Providing javascript code