Use requirJS for javascript loading