Fixing Javascript indentation
Minor tidy up