Tasks - Move inline JS to external file