Changes for subtask.js and link-saving

Created an automated test for subtask.js and started creating a
link-saving feature.