Resolved issues with jslint by taking out references not used