Create and Test For Loops JS File