Fixes JSCS errors & warnings;

Signed-off-by: ashwinh <ashwinh@cybage.com>