Trim .js from name