moving JS over temporarily for testing