RequireJS and JQM style upgrade