added js and edited readme, initial