better code documentation

include type attribute on JS tags and provide a new step indicating
where the project logic should go in the loading order