breaking the javascript by removing the single quote - FIXED