Added controller JS