Made script extensions optional

- If script ext specified, it is left as is. i.e the .min.js is not
added
- This is so that if we use vendor scripts who don't follow that .min.js
  scheme, they can still be referenced without modification.