Plugin-tag: optimize javascript