fixed some js indentation