Split String Every N Characters Javascript