Created JS File and moved Test HTML

Created JS File and moved Test HTML