Fixed #4 - Separated JS and CSS libraries to only be displayed when the relevant tag is typed.