Switched to using js, jquery, and python script