Trim extra preceding slash '/'
Remove the search paths instead of the hardcoded path
Use the asset helper for writing the <script> tag(s)