begin moving js code