Adding tooltip and javascript file env