How To Create An Element With Javascript To See If Three