Improve javascript, show tasks for projects