Corrected custom CSS href/JS src length conditional check