fixed #387 : Rename asset tab

Renaming the asset name on click of asset tab
Actually we couldn't find any missing ';' here in this commit. I have a doubt on using 'JSLINT' for validation. It give lots of errors(default set strictness). Even we checked with few of the existing classes which we haven't written, but we found same many errors. So if we validate the code in JSLINT it will give many errors like "line 4 character 5Expected 'var' at column 9, not column 5". Now which ones we should follow so that we can configure JSLINT accordingly.