Fixed issue with javascript reference.