added js library and ajax controller