Update bootstrap.js

on line 303 i was not making dirPath properly