Reverting javascript, and adding troubleshoot link to readme