Converted main.js to inline for now