remove whitespace, add js language identifiers