Changed extensions

Changed extensions from .txt to .js, as they should be.