move ia page js and templates