Move JS into external File