Small cleanup, gave .txt scripts a .js extension

Gave .js extension for better code highlighting in editors.