edited js file for flyaway fucnt