To load Logistic Regression js dynamically using resource plugin.