fixing js and png