Optimizing Static JS Inclusion

Due to Issue from paolobattistella