Removed dependency to jquery and <script> feature