added some jslinting