Add javascript and nginx support