Missing semicolon on js file