fixed errors
decorator for javascript-check added
testing