starting to write core js animation file