JavaScript solution for Lonely Integer & Readme Update

I've also added in some test files that can be used. You may want to adjust their organization or remove them entirely.