added js files and edited readme