add main mobile controller js