Fixed #33
Fix NPE if require js path reference not found directory