New lines now wont break javascript functionality