Change javascript main regex