Externalized javascript and fixed left bar drag