fixed javascript error in paycheck