Make tk.js executable
Add rules for link and image tokens