Fixed indentation, converted to 4 tab indentation for js, indent using spaces