formatted with eclipse javascript conventions