Revert "Extrapolate poll functions into a file"

This reverts commit f16ea48e2312db7bff4023ecb77150eff3fd2f16.
Revert "Downloaded all js libraries in base.html to local space"

This reverts commit bcd6832f7a0730139cd1c1933cf0e38a420342ac.
Revert "Refactored the code and added angularjs"

This reverts commit 17681ba5b1a796680eb90200dcb3adf900806309.