Move polymer script to top of file