Turn it to pure javascript. Remove Dojo dependency