Switched to angularjs library