added js controllers