Added controller js